//
//  BiliServiceList.swift
//  Landmarks
//
//  Created by 温哲 on 2021/2/10.
//

import SwiftUI

struct BiliServiceList: View {
    var serviceList: [CommonModel]

    var body: some View {
        VStack {
            ForEach(serviceList) { model in
                BiliServiceRow(model: model)
            }
        }
    }
}

struct BiliServiceList_Previews: PreviewProvider {
    static var previews: some View {
        BiliServiceList(serviceList: [CommonModel(id: 0, name: "联系客服", image: "star", tipsNum: 0),
                                      CommonModel(id: 1, name: "课堂模式", image: "star.fill", tipsNum: 0)])
    }
}
